package com.company.project.web.system.pojo.handcard;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 手牌
 * </p>
 *
 * @author 任建波
 * @since 2019-09-09
 */
@TableName("sys_handcard")
public class Handcard implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 手牌号表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手牌号
     */
    private Integer code;

    /**
     * 绑定的房间id
     */
    private Integer roomId;

    /**
     * 门店id
     */
    private Integer shopId;

    /**
     * 删除：1：删除 0：未删除
     */
    private Integer isdelete;

    /**
     * 录入人id
     */
    private Integer inputUserId;

    /**
     * 录入时间
     */
    private LocalDateTime inputTime;

    /**
     * 修改人id
     */
    private Integer updateUserId;

    /**
     * 修改时间
     */
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Integer getInputUserId() {
        return inputUserId;
    }

    public void setInputUserId(Integer inputUserId) {
        this.inputUserId = inputUserId;
    }

    public LocalDateTime getInputTime() {
        return inputTime;
    }

    public void setInputTime(LocalDateTime inputTime) {
        this.inputTime = inputTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Handcard{" +
        "id=" + id +
        ", code=" + code +
        ", roomId=" + roomId +
        ", shopId=" + shopId +
        ", isdelete=" + isdelete +
        ", inputUserId=" + inputUserId +
        ", inputTime=" + inputTime +
        ", updateUserId=" + updateUserId +
        ", updateTime=" + updateTime +
        "}";
    }
}
